package designpattern.command.ricecooker.cmd;

import designpattern.command.ricecooker.IRiceCookerCmd;
import designpattern.command.ricecooker.RiceCookerReceiver;

public class CookRiceCmd implements IRiceCookerCmd {
    private final RiceCookerReceiver receiver = new RiceCookerReceiver();
    @Override
    public void execute() {
        receiver.cookRice();
    }
}
